import { Layout } from '@fl/utils/routerHelper'

import activityManage from './modules/activity-manage'
import seckillManage from './modules/seckill-manage'
import finance from './modules/finance'
import marketing from './modules/marketing'
import messageCenter from './modules/message-center'

const marketingPromotionRoute: AppRouteRecordRaw = {
    children: [
        finance,
        marketing,
        messageCenter,
        activityManage,
        seckillManage,
    ],
    component: Layout,
    meta: {
        title: '营销推广',
    },
    name: 'marketing-promotion',
    path: '/marketing-promotion',
    redirect: '/marketing-promotion/finance-service/apply-list',
}

export default marketingPromotionRoute
